package com.zzy.mccjt.retelimiter.exception;

/**
 * @program: mccjt-cloud
 * @description: 限流异常
 * @author: zhouyang.zheng
 * @create: 2022-08-01 16:50
 **/
public class RateLimiterException extends RuntimeException {
    /**
     * 异常信息
     */
    private String message;

    public RateLimiterException(String message) {
        super(message);
        this.message = message;
    }

    public RateLimiterException(String message, Throwable cause) {
        super(message, cause);
        this.message = message;
    }
}
